package com.shxc.smarttrade.old.bean;

/**
 * Created by jcdev1 on 2017/5/27.
 */
/*{
                    symbolCn:中文名称,
                    userId: 用户id,
                    cmd : 2 买涨限价, 3 买跌限价, 4 买涨止损, 5 买跌止损
                    volume: 交易手数，
                    tp : 止盈价,
                    sl: 止损价,
                    ticket: 订单号,
                    pendingPrice: 挂单价
                }*/
public class PendingOrder {
    private String symbolCn;
    private int userId;
    private int cmd;
    private float volume;
    private double tp;
    private double sl;
    private String ticket;
    private double pendingPrice;

    public String getSymbolCn() {
        return symbolCn;
    }

    public void setSymbolCn(String symbolCn) {
        this.symbolCn = symbolCn;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCmd() {
        return cmd;
    }

    public void setCmd(int cmd) {
        this.cmd = cmd;
    }

    public float getVolume() {
        return volume;
    }

    public void setVolume(float volume) {
        this.volume = volume;
    }

    public double getTp() {
        return tp;
    }

    public void setTp(double tp) {
        this.tp = tp;
    }

    public double getSl() {
        return sl;
    }

    public void setSl(double sl) {
        this.sl = sl;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public double getPendingPrice() {
        return pendingPrice;
    }

    public void setPendingPrice(double pendingPrice) {
        this.pendingPrice = pendingPrice;
    }
}
